Linear Regression is a statistical technique that aims at measuring the relationship between two variables. It helps to visually see the trend and relationships via a ‘line of best fit’ in graphs. As well as allowing predictions of the dependent variable for any given independent variable.
The equation is derived from this formula:
\[ y = mx+b \]
where:
\(y\) = dependent variable
\(x\) = independent variable
\(m\) = slope
\(b\) = y-intercept